 namespace local = ""
 namespace inh = inherit
 
 start = 
    element library
    {
       element book
       {
          attribute id { text },
          attribute available { text },
          element isbn { text },
          element title { attribute xml:lang { text }, text },
          element author
          {
             attribute id { text },
             element name { text },
             element born { text },
             element dead { text }?
          }*,
          element character { character-content }*
       }+
    }
 
 character-content = 
    attribute id { text } & element name { text } & element born { text }
 
 character-content &= element qualification { text }
